<?php
/**
 * Created by PhpStorm.
 * User: 11893
 * Date: 2018/10/19
 * Time: 14:34
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class Booking extends Model
{
    protected $fillable = ['products_id', 'user_id'];

    public $timestamps = false;

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function activity()
    {
        return $this->belongsTo(Activity::class);
    }
}